package mya_dc.shared_classes;

import java.io.Serializable;

/**
 * Keeps a tree based representation of the files in the project
 *
 * @author      Adam Levi
 * <br>			MYA
 */

public class CompilationProject extends MYA_FileTreeNode implements Serializable
{
	
	private static final long serialVersionUID = 3214361427978062707L;

	
	/**
	 * Constructor
	 *
	 * @param	name - The name of the project.
	 * @param 	root - The root pathname.
	 */
	public CompilationProject(String name, String root)
	{
		super(new MYA_File(root),null);
		m_Name = name;
		m_Root = root;
	}
	
	/**
	 * @return project working directory
	 */
	public String getProjectWD()
	{
		return m_Root;
	}
	
	/**
	 * @return project name
	 */
	public String getName()
	{
		return m_Name;
	}
	
	
	//variables
	private String m_Name;
	private String m_Root;

}
